package com.seednia.foundation.framework.dao;

import java.util.List;

import com.seednia.foundation.framework.dto.JoinParams;
import com.seednia.foundation.framework.dto.QueryParams;
import com.seednia.foundation.framework.service.DataAccessException;

public interface IDao {

	
	/**
	 * Returns a list of record that matches the criteria.
	 * If the field in the criteria is null, its considered as wildcard.
	 * @param criteria
	 * @return
	 */
	List selectJoin(JoinParams joinParams, String whereClause, QueryParams params) throws DataAccessException;

}
